<template>
  <!-- 添加参数或属性对话框 -->
  <el-dialog :title="titleText" :visible.sync="editDialogVisible" width="50%" @close="editDialogClosed">
    <!-- 添加表单 -->
    <el-form :model="editForm" :rules="editFormRules" ref="formRef" label-width="100px">
      <el-form-item :label="labelText" prop="attr_name">
        <el-input v-model="editForm.attr_name"></el-input>
      </el-form-item>
    </el-form>
    <span slot="footer" class="dialog-footer">
      <el-button @click="editDialogVisible = false">取 消</el-button>
      <el-button type="primary" @click="submitParams">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
import Edit from './edit.js'
export default {
  ...Edit
}
</script>

<style lang="scss" scoped></style>